package com.ziyun.pop.modules.mercharReport.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author jiangli
 * @date 2018-10-20 14:35
 */
@Data
public class ReportStoreApplyVO implements Serializable {
    //单据号
    @Excel(name = "单据号", orderNum = "1")
    private String applyNo;
    //采购总金额
    @Excel(name = "采购总金额", orderNum = "2")
    private BigDecimal totalMoney;
    //是否含税:0.不含税;1.含税
    @Excel(name = "是否含税", orderNum = "3",replace = {"是_1", "否_0"})
    private Integer tax;
    //申请门店ID
    private Integer sellerId;
    //申请门店名称
    @Excel(name = "申请门店名称", orderNum = "4")
    private String sellerName;
    //采购申请单状态:1.待审核;2.已审核3.已入库
    @Excel(name = "采购申请单状态", orderNum = "5",replace = {"待审核_1", "已审核_2","已入库_3"})
    private Integer status;
    //采购备注
    @Excel(name = "采购备注", orderNum = "6")
    private String applyRemark;
    //采购类型:0.普通耗材,1.纸张
    @Excel(name = "采购类型", orderNum = "7",replace = {"纸张_1", "普通耗材_0"})
    private int purchaseType;
    //支付时间
    @Excel(name = "支付时间", orderNum = "8" ,format = "yyyy-MM-dd HH:mm:ss")
    private Date financePaytime;
    //付款备注
    @Excel(name = "付款备注", orderNum = "9")
    private String financeRemark;
    //财务审核状态:0待审核,1待付款,2已付款
    @Excel(name = "财务审核状态", orderNum = "10",replace = {"待审核_0","待付款_1","已付款_2"})
    private Integer financeStatus;
    //采购申请单耗材状态：1.待入库2.部分入库3.已完成
    @Excel(name = "采购申请单耗材状态", orderNum = "11",replace = {"待入库_1","部分入库_2","已完成_3"})
    private Integer detailStatus;
    //耗材id
    private Integer material_id;
    //耗材名称
    @Excel(name = "耗材名称", orderNum = "12")
    private String materialName;
    //耗材申请数量
    @Excel(name = "耗材申请数量", orderNum = "13")
    private BigDecimal materialQuantity;
    //耗材实际入库数量
    @Excel(name = "耗材实际入库数量", orderNum = "14")
    private BigDecimal receiveQuantity;
    //采购供应商id
    private Integer supplierId;
    //采购供应商名称
    @Excel(name = "采购供应商名称", orderNum = "15")
    private String supplierName;
    //单价
    @Excel(name = "耗材单价", orderNum = "16")
    private BigDecimal unitMoney;
    //耗材总价
    @Excel(name = "耗材总价", orderNum = "17")
    private BigDecimal detailTotalMoney;
    //耗材单位
    @Excel(name = "耗材单位", orderNum = "18")
    private String unit;

}
